package org.appfuse.service.impl;

import java.util.List;

import org.appfuse.dao.DutyinfoDAO;
import org.appfuse.model.Dutyinfo;
import org.appfuse.service.DutyinfoManager;

/**
 * Data access object (DAO) for domain model class Dutyexperience.
 * @see temp.Dutyinfo
 * @author MyEclipse - Hibernate Tools
 */
public class DutyinfoManagerImpl  extends BaseManager implements DutyinfoManager {
 
	private DutyinfoDAO dao;
	
	public void setDutyinfoDao(DutyinfoDAO dao){
		this.dao = dao;
	}

	public void attachClean(Dutyinfo instance) {
		// TODO Auto-generated method stub
		dao.attachClean(instance);
	}

	public void attachDirty(Dutyinfo instance) {
		// TODO Auto-generated method stub
		dao.attachDirty(instance);
	}

	public void delete(Dutyinfo persistentInstance) {
		// TODO Auto-generated method stub
		dao.delete(persistentInstance);
	}

	public List findByExample(Dutyinfo instance) {
		// TODO Auto-generated method stub
		return dao.findByExample(instance);
	}


	public Dutyinfo findById(String a00, Integer id) {
		// TODO Auto-generated method stub
		return dao.findById(a00, id);
	}
	
	
    public Integer newId(String a00){
    	return dao.newId(a00);
    }

	public List findByA00(String a00) {
		// TODO Auto-generated method stub
		return dao.findByA00(a00);
	}



	public List findByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return dao.findByProperty(propertyName, value);
	}

	public List findByUserid(Object userid) {
		// TODO Auto-generated method stub
		return dao.findByUserid(userid);
	}

	public List findByZc(Object zc) {
		// TODO Auto-generated method stub
		return dao.findByZc(zc);
	}

	public Dutyinfo merge(Dutyinfo detachedInstance) {
		// TODO Auto-generated method stub
		return dao.merge(detachedInstance);
	}

	public void save(Dutyinfo transientInstance) {
		// TODO Auto-generated method stub
		dao.save(transientInstance);
	}

	public void update(Dutyinfo transientInstance) {
		// TODO Auto-generated method stub
		dao.update(transientInstance);
	}
	
}